[INFO] cloning repository https://github.com/Dirlandets/rust-udemy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dirlandets/rust-udemy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDirlandets%2Frust-udemy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDirlandets%2Frust-udemy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49d8a3c7d0b005274f3246d44323f9f46b8317b2
[INFO] fixing Dirlandets/rust-udemy against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDirlandets%2Frust-udemy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dirlandets/rust-udemy
[INFO] finished tweaking git repo https://github.com/Dirlandets/rust-udemy
[INFO] tweaked toml for git repo https://github.com/Dirlandets/rust-udemy written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dirlandets/rust-udemy on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dirlandets/rust-udemy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775
[INFO] running `Command { std: "docker" "start" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking bytesize v1.0.0
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking systemstat v0.1.5
[INFO] [stderr]     Checking course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: course v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         _ => String::from("SOME COLOR")
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Color::Red => String::from("RED"),
[INFO] [stdout]     |           ---------- matches some of the same values
[INFO] [stdout]  92 |           Color::Green => String::from("GREEN"),
[INFO] [stdout]     |           ------------ matches some of the same values
[INFO] [stdout]  93 |           Color::Blue => String::from("BLUE"),
[INFO] [stdout]     |           ----------- matches some of the same values
[INFO] [stdout]  94 | /         Color::RGBColor(0, 0, 0)  // rgb black = 000
[INFO] [stdout] ...   |
[INFO] [stdout]  97 | |         | Color::CmykColor{black: 255, ..} => format!("BLACK"), // Cmyk blaack is when black 255 "_" mean any value
[INFO] [stdout]     | |__________________________________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |           _ => String::from("SOME COLOR")
[INFO] [stdout]     |           ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let b = Point { x: 0.1, y: 0.2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let line = Line {start: a, end: c};
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/part_4_data_structures/enums.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     Green,
[INFO] [stdout] 4 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: T
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Line<T> {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     start: Point<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     end: Point<T>
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         _ => String::from("SOME COLOR")
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Color::Red => String::from("RED"),
[INFO] [stdout]     |           ---------- matches some of the same values
[INFO] [stdout]  92 |           Color::Green => String::from("GREEN"),
[INFO] [stdout]     |           ------------ matches some of the same values
[INFO] [stdout]  93 |           Color::Blue => String::from("BLUE"),
[INFO] [stdout]     |           ----------- matches some of the same values
[INFO] [stdout]  94 | /         Color::RGBColor(0, 0, 0)  // rgb black = 000
[INFO] [stdout] ...   |
[INFO] [stdout]  97 | |         | Color::CmykColor{black: 255, ..} => format!("BLACK"), // Cmyk blaack is when black 255 "_" mean any value
[INFO] [stdout]     | |__________________________________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |           _ => String::from("SOME COLOR")
[INFO] [stdout]     |           ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let b = Point { x: 0.1, y: 0.2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let line = Line {start: a, end: c};
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/part_4_data_structures/enums.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     Green,
[INFO] [stdout] 4 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: T
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Line<T> {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     start: Point<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     end: Point<T>
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.97s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.35s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: course v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         _ => String::from("SOME COLOR")
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Color::Red => String::from("RED"),
[INFO] [stdout]     |           ---------- matches some of the same values
[INFO] [stdout]  92 |           Color::Green => String::from("GREEN"),
[INFO] [stdout]     |           ------------ matches some of the same values
[INFO] [stdout]  93 |           Color::Blue => String::from("BLUE"),
[INFO] [stdout]     |           ----------- matches some of the same values
[INFO] [stdout]  94 | /         Color::RGBColor(0, 0, 0)  // rgb black = 000
[INFO] [stdout] ...   |
[INFO] [stdout]  97 | |         | Color::CmykColor{black: 255, ..} => format!("BLACK"), // Cmyk blaack is when black 255 "_" mean any value
[INFO] [stdout]     | |__________________________________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |           _ => String::from("SOME COLOR")
[INFO] [stdout]     |           ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `course` (bin "course") due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let b = Point { x: 0.1, y: 0.2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let line = Line {start: a, end: c};
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/part_4_data_structures/enums.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     Green,
[INFO] [stdout] 4 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: T
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Line<T> {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     start: Point<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     end: Point<T>
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         _ => String::from("SOME COLOR")
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/part_4_data_structures/enums.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Color::Red => String::from("RED"),
[INFO] [stdout]     |           ---------- matches some of the same values
[INFO] [stdout]  92 |           Color::Green => String::from("GREEN"),
[INFO] [stdout]     |           ------------ matches some of the same values
[INFO] [stdout]  93 |           Color::Blue => String::from("BLUE"),
[INFO] [stdout]     |           ----------- matches some of the same values
[INFO] [stdout]  94 | /         Color::RGBColor(0, 0, 0)  // rgb black = 000
[INFO] [stdout] ...   |
[INFO] [stdout]  97 | |         | Color::CmykColor{black: 255, ..} => format!("BLACK"), // Cmyk blaack is when black 255 "_" mean any value
[INFO] [stdout]     | |__________________________________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 100 |           _ => String::from("SOME COLOR")
[INFO] [stdout]     |           ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let b = Point { x: 0.1, y: 0.2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let line = Line {start: a, end: c};
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/part_3_control_flow/combination_lock.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/part_4_data_structures/enums.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     Green,
[INFO] [stdout] 4 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: T
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/part_4_data_structures/generics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Line<T> {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     start: Point<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     end: Point<T>
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/part_2_types_and_variables/constants.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("Is chuchua? {}", IS_CHUCHUA);
[INFO] [stdout]    |                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `course` (bin "course" test) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775", kill_on_drop: false }`
[INFO] [stdout] 3f3fbdb13cab58f1b6d4968c055b6c0ef2f4481fd10570cb0be669cdbc5ae775
